package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_turntable_reward", desc = "幸运夺宝抽奖奖励", autoSave = true, uploadCk = true)
public class LogTurntableReward extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "增加进度值")
    private long value;
    @FieldTypeAnnotation(desc = "原始进度值")
    private long originalValue;
    @FieldTypeAnnotation(desc = "当前进度值")
    private long nowValue;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogTurntableReward(long userId, long value, long originalValue, long nowValue, String reward) {
        this.userId = userId;
        this.value = value;
        this.originalValue = originalValue;
        this.nowValue = nowValue;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }
}
